package com.exchange.logger;


import com.exchange.dto.LoggerDto;

import java.util.List;

/***
 *                    .::::.
 *                  .::::::::.
 *                 :::::::::::
 *             ..:::::::::::'
 *           '::::::::::::'
 *             .::::::::::
 *        '::::::::::::::..
 *             ..::::::::::::.
 *           ``::::::::::::::::
 *            ::::``:::::::::'        .:::.
 *           ::::'   ':::::'       .::::::::.
 *         .::::'      ::::     .:::::::'::::.
 *        .:::'       :::::  .:::::::::' ':::::.
 *       .::'        :::::.:::::::::'      ':::::.
 *      .::'         ::::::::::::::'         ``::::.
 *  ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 *                    '.:::::'                    ':'````..
 *
 * @Author liuhai
 * @Date 2020-10-04 15:33:45
 * @Description
 */
public interface LoggerService {

    /**
     * 添加日志
     * @param loggerDto
     * @return
     */
    void addMgLogger(LoggerDto loggerDto);

    /**
     * 查询日志
     * @param offset
     * @param limit
     * @return
     */
    List<LoggerDto> queryLogger(int offset, int limit);
}
